image=imread("fig6.tif");
image_temp=im2double(image);
subplot(2,2,1);
imshow(image_temp);
subplot(2,2,2),imhist(image_temp);
[m,n]=size(image);
image1=double(zeros(m,n));
for i=1:m
    for j=1:n
        res=image_temp(i,j)+1;
        image1(i,j)=log(res);
    end
end
subplot(2,2,3),imshow(image1);
subplot(2,2,4),imhist(image1);
